package com.xiweicheng.testmultischema.mybatis;

import com.xiweicheng.testmultischema.mybatis.entity.Xxx;
import com.xiweicheng.testmultischema.mybatis.entity.XxxExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface XxxDao {
    long countByExample(XxxExample example);

    int deleteByExample(XxxExample example);

    int deleteByPrimaryKey(String id);

    int insert(Xxx record);

    int insertSelective(Xxx record);

    List<Xxx> selectByExample(XxxExample example);

    Xxx selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Xxx record, @Param("example") XxxExample example);

    int updateByExample(@Param("record") Xxx record, @Param("example") XxxExample example);

    int updateByPrimaryKeySelective(Xxx record);

    int updateByPrimaryKey(Xxx record);
}